package com.mindskip.xzs.repository;

import com.mindskip.xzs.domain.entity.TaskExamCustomerAnswer;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface TaskExamCustomerAnswerMapper extends BaseMapper<TaskExamCustomerAnswer> {

    List<TaskExamCustomerAnswer> selectByTaskExamIdsAndUserId(@Param("taskExamIds") List<Integer> taskExamIds, @Param("userId") Integer userId);

    TaskExamCustomerAnswer selectByTaskExamIdAndCreateUser(@Param("taskId") Integer taskId, @Param("userId") Integer userId);

}
